﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Home Page
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<script src="../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
	<h2><%: ViewData["Message"] %></h2>
	<p>
		To learn more about ASP.NET MVC visit <a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc</a>.
	</p>



	<%= Html.DropDownList("estado", new List<SelectListItem>() { 
		new SelectListItem(){ Value = "", Text = "-Selecione-" },
		new SelectListItem(){ Value = "1", Text = "DF", Selected = true },
		new SelectListItem(){ Value = "2", Text = "SP" },
	})%>

	<%= Html.CascadingDropDownList("cidade", "estado", "DropDownTest", "Home", "-Selecione o estado-", null, null) %>
</asp:Content>
